package com.yyds.service;

import com.yyds.common.MyJSON;
import com.yyds.common.R;
import com.yyds.pojo.NewsNews;

import java.util.List;


public interface NewsNewsService {
    MyJSON<NewsNews> selectAllNewsNewsService(NewsNews newsNews, Integer page, Integer limit);

    R insertNewsNewsService(NewsNews newsNews);

    R deleteAllNewsNewsService(List<NewsNews> list);

    R selectNewsNewsService(Integer news_id);

    R updateNewsNewsService(NewsNews newsNews);

    R deleteNewsNewsService(Integer news_id);

    R queryTypeNewsNewsService();

}
